package com.tiancheng.trade.settlement.mapper.settlement;

import com.tiancheng.trade.settlement.mapper.TYBaseMapper;
import com.tiancheng.trade.settlement.model.settlement.StatementAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StatementAccountMapper extends TYBaseMapper<StatementAccount> {

    /**
     * 查询可以生成对账函的数据
     */
    int batchSaveStatementAccount(@Param("list") List<StatementAccount> list);

    /**
     * 按对账函编号批量删除对账函信息
     *
     * @param strList
     * @return
     */
    int batchDelStatementAccount(@Param("list") List<String> strList);

}
